[INFO] cloning repository https://github.com/pp-qq/rust-http-server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pp-qq/rust-http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpp-qq%2Frust-http-server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpp-qq%2Frust-http-server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 87ddd70278e8a23702c46917db5e1cb2edb2c5e1
[INFO] building pp-qq/rust-http-server against try#3bbb5242a8064de4ca3af4036745ddf603ddaa85 for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpp-qq%2Frust-http-server" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/pp-qq/rust-http-server on toolchain 3bbb5242a8064de4ca3af4036745ddf603ddaa85
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/pp-qq/rust-http-server
[INFO] finished tweaking git repo https://github.com/pp-qq/rust-http-server
[INFO] tweaked toml for git repo https://github.com/pp-qq/rust-http-server written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/pp-qq/rust-http-server already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: package.author
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 648dbf4662e3af172b945f29c5a85aa9cbfc35a3ff415ac7cab3e6d2c3d6d6c2
[INFO] running `Command { std: "docker" "start" "-a" "648dbf4662e3af172b945f29c5a85aa9cbfc35a3ff415ac7cab3e6d2c3d6d6c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "648dbf4662e3af172b945f29c5a85aa9cbfc35a3ff415ac7cab3e6d2c3d6d6c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "648dbf4662e3af172b945f29c5a85aa9cbfc35a3ff415ac7cab3e6d2c3d6d6c2", kill_on_drop: false }`
[INFO] [stdout] 648dbf4662e3af172b945f29c5a85aa9cbfc35a3ff415ac7cab3e6d2c3d6d6c2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 67f643e6e5e0cad7cf571ea29d1272b7566d91751aff45dd8e470f783ae81d1e
[INFO] running `Command { std: "docker" "start" "-a" "67f643e6e5e0cad7cf571ea29d1272b7566d91751aff45dd8e470f783ae81d1e", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: package.author
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling libc v0.2.102
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.29
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.76
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling once_cell v1.8.0
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling ahash v0.7.4
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]    Compiling futures-core v0.3.17
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling pin-project-lite v0.2.7
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling itoa v0.4.8
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling tokio v1.11.0
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling futures-task v0.3.17
[INFO] [stderr]    Compiling ucd-trie v0.1.3
[INFO] [stderr]    Compiling pest v2.1.3
[INFO] [stderr]    Compiling parse-zoneinfo v0.3.0
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling mio v0.7.13
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]    Compiling futures-util v0.3.17
[INFO] [stderr]    Compiling bstr v0.2.16
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling unic-char-range v0.9.0
[INFO] [stderr]    Compiling maplit v1.0.2
[INFO] [stderr]    Compiling unic-common v0.9.0
[INFO] [stderr]    Compiling chrono-tz v0.5.3
[INFO] [stderr]    Compiling globset v0.4.8
[INFO] [stderr]    Compiling unic-ucd-version v0.9.0
[INFO] [stderr]    Compiling pest_meta v2.1.3
[INFO] [stderr]    Compiling unic-char-property v0.9.0
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]    Compiling libsqlite3-sys v0.22.2
[INFO] [stderr]    Compiling tokio-macros v1.3.0
[INFO] [stderr]    Compiling http v0.2.4
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling tracing-core v0.1.20
[INFO] [stderr]    Compiling thread_local v1.1.3
[INFO] [stderr]    Compiling serde_json v1.0.68
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling futures-channel v0.3.17
[INFO] [stderr]    Compiling futures-sink v0.3.17
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling httparse v1.5.1
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling tokio-util v0.6.8
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling tracing v0.1.27
[INFO] [stderr]    Compiling ignore v0.4.18
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling pest_generator v2.1.3
[INFO] [stderr]    Compiling unic-ucd-segment v0.9.0
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling slab v0.4.4
[INFO] [stderr]    Compiling deunicode v0.4.3
[INFO] [stderr]    Compiling pest_derive v2.1.0
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling unic-segment v0.9.0
[INFO] [stderr]    Compiling h2 v0.3.4
[INFO] [stderr]    Compiling slug v0.1.4
[INFO] [stderr]    Compiling uuid v0.8.2
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling globwalk v0.8.1
[INFO] [stderr]    Compiling rand v0.8.4
[INFO] [stderr]    Compiling http-body v0.4.3
[INFO] [stderr]    Compiling hashlink v0.7.0
[INFO] [stderr]    Compiling socket2 v0.4.2
[INFO] [stderr]    Compiling httpdate v1.0.1
[INFO] [stderr]    Compiling humansize v1.1.1
[INFO] [stderr]    Compiling smallvec v1.6.1
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling serde_urlencoded v0.7.0
[INFO] [stderr]    Compiling tera v1.12.1
[INFO] [stderr]    Compiling hyper v0.14.13
[INFO] [stderr]    Compiling rusqlite v0.25.3
[INFO] [stderr]    Compiling web-memory v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:92:25
[INFO] [stdout]    |
[INFO] [stdout] 92 |         ("/", "GET") => handle_with_body(req, tera).await,
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found enum `Result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `Result<Response<Body>, hyper::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:94:31
[INFO] [stdout]    |
[INFO] [stdout] 94 |         ("/posts", "POST") => create_post(req, tera, conn).await,
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found enum `Result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `Result<Response<Body>, hyper::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `status_with` found for reference `&str` in the current scope
[INFO] [stdout]   --> src/main.rs:95:31
[INFO] [stdout]    |
[INFO] [stdout] 95 |         (path, "GET") if path.status_with("/posts/") => find_post(req, tera, conn).await,
[INFO] [stdout]    |                               ^^^^^^^^^^^ help: there is a method with a similar name: `starts_with`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:95:57
[INFO] [stdout]    |
[INFO] [stdout] 95 |         (path, "GET") if path.status_with("/posts/") => find_post(req, tera, conn).await,
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found enum `Result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `Result<Response<Body>, hyper::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:41:42
[INFO] [stdout]    |
[INFO] [stdout] 41 |     fn render(&self, tera: Arc<Tera>) -> String {
[INFO] [stdout]    |        ------                            ^^^^^^ expected struct `std::string::String`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:47:35
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn get_id(req: &Request<Body>) -> Uuid {
[INFO] [stdout]    |    ------                         ^^^^ expected struct `Uuid`, found `()`
[INFO] [stdout]    |    |
[INFO] [stdout]    |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `web-memory` due to 7 previous errors
[INFO] running `Command { std: "docker" "inspect" "67f643e6e5e0cad7cf571ea29d1272b7566d91751aff45dd8e470f783ae81d1e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "67f643e6e5e0cad7cf571ea29d1272b7566d91751aff45dd8e470f783ae81d1e", kill_on_drop: false }`
[INFO] [stdout] 67f643e6e5e0cad7cf571ea29d1272b7566d91751aff45dd8e470f783ae81d1e
